// 加入菜篮子按钮
.clicked {
    transform: scale(1.3);
}

.addFoodList {
    position: fixed;
    top: 75%;
    left: 30rpx;
    width: 80rpx;
    height: 80rpx;
    border-radius: 40rpx;
    text-align: center;
    line-height: 80rpx;
    background-color: #f96650;
    z-index: 2;
    transition: transform 0.3s ease-in-out, ease-in-out;


    text {
        font-size: 45rpx;
        color: white
    }
}


// 底部导航栏
.nav_bottom {
    border-top: 1rpx solid #ccc;
    width: 100%;
    height: 130rpx;
    position: fixed;
    bottom: 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
    font-size: 30rpx;
    background-color: #fff;
    z-index: 2;

    .nav_item {
        margin-top: 10rpx;
        width: 165rpx;
        height: 60rpx;
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        text-align: center;
        line-height: 60rpx;

        .icon {
            margin-right: 8rpx;
        }

        .icon.active {
            color: #f97966;
        }
    }
}


// 防止底部导航栏遮挡页面内容
.box {
    width: 680rpx;
    height: 200rpx;
    margin: o auto;
    background-color: #fff;
}

// 菜谱信息
.menuInfo_container {

    width: 100%;
    height: 100%;


    // 菜谱头部
    .menu_title {

        margin-bottom: 40rpx;

        image {
            width: 100%;
            height: 600rpx;
            overflow: hidden;
            position: relative
        }

        .title {
            display: block;
            width: 680rpx;
            margin: 0 auto;
            margin-top: 40rpx;
            text-align: center;
            font-size: 45rpx;
        }

        .grade {
            text-align: center;
            margin-top: 30rpx;
        }
    }


    // 作者信息
    .author_info {
        width: 680rpx;
        height: 180rpx;
        margin: 0 auto;
        padding-top: 20rpx;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        line-height: 180rpx;
        border-top: 1rpx solid #ccc;
        align-items: center;

        .item_l {
            display: flex;
            flex-direction: row;
            width: 530rpx;


            image {
                vertical-align: middle;
                background-color: skyblue;
                width: 150rpx;
                height: 150rpx;
                border-radius: 75rpx;
                margin-right: 10rpx;
            }

            .author_name {
                font-size: 30rpx;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;

            }
        }

        .item_r {
            width: 150rpx;
            height: 70rpx;
            display: flex;
            flex-direction: column;
            justify-content: center;

            .follow {
                width: 150rpx;
                height: 70rpx;
                font-size: 30rpx;
                line-height: 70rpx;
                color: #87ceeb;
                border: 1rpx solid#87ceeb;
                box-shadow: 0 0 10rpx rgba(135, 206, 235, 0.3);
                text-align: center;
                border-radius: 20rpx;
            }

            .isFollow {
                border: 1rpx solid #fa6d51;
                color: #fa6d51;
                box-shadow: 0 0 10rpx rgba(250, 109, 81, 0.3);
            }

        }
    }

    //菜谱描述
    .menu_des {
        width: 680rpx;
        margin: 30rpx auto 50rpx;

        text {
            font-size: 30rpx;
            line-height: 50rpx;
        }
    }

    // 菜谱材料
    .ingredient {
        width: 680rpx;
        margin: 0 auto;
        display: flex;
        flex-direction: column;

        .ingredient_h {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            height: 80rpx;
            line-height: 80rpx;
            margin-bottom: 50rpx;

            .title {
                font-size: 40rpx;
                font-weight: 700;
            }

            .add_food_list {
                width: 270rpx;
                height: 60rpx;
                margin: auto 0;
                line-height: 60rpx;
                border-radius: 30rpx;
                text-align: center;
                border: 1rpx solid #ccc;
            }

        }

        .ingredient_items {
            display: flex;
            flex-direction: column;

            .ingredient_item {
                display: flex;
                flex-direction: row;
                border-top: 1px solid #ccc;
                padding: 40rpx 0;

                .food_name {

                    width: 450rpx;
                }

                .food_num {
                    padding-left: 30rpx;

                }

            }
        }
    }

    // 菜谱步骤
    .menu_step {
        width: 100%;

        .menu_step_items {
            display: flex;
            flex-direction: column;

            .menu_step_item {
                border-top: 1rpx solid #ccc;

                .content {
                    width: 680rpx;
                    margin: 0 auto;

                    .title {
                        margin: 20rpx 0;
                        font-size: 40rpx;
                        font-weight: 700;
                    }

                    image {
                        width: 100%;
                        height: 680rpx;
                        background-color: #ccc;
                        border-radius: 40rpx;
                        margin-bottom: 20rpx;
                    }

                    .des {
                        font-size: 30rpx;
                        line-height: 50rpx;
                        margin-bottom: 40rpx;
                    }
                }
            }
        }
    }

}

// 菜谱数据
.menu_data {
    width: 680rpx;
    height: 30rpx;
    line-height: 30rpx;
    margin: 0 auto 40rpx;
    display: flex;

    flex-direction: row;
    color: #ccc;
    font-size: 25rpx;

    view {
        margin-right: 10rpx;
    }
}


// 其他人作品
.other_opus {
    width: 100%;
    height: 700rpx;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ccc;

    .opus_h {
        width: 680rpx;
        height: 100rpx;
        margin: 0 auto;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;

        line-height: 100rpx;
        font-size: 30rpx;

        .opus_title {
            font-weight: 700;
        }

        .opus_num {
            color: #f97966;

        }

        .opus_num::before {
            content: "・";
        }
    }

    .opus_items {
        width: 100%;
        white-space: nowrap;
        height: 600rpx;

        .opus_item {
            display: inline-block;
            border: 1rpx solid #ccc;
            width: 320rpx;
            height: 600rpx;
            border-radius: 40rpx;
            box-sizing: border-box;
            margin-left: 40rpx;


            .opus_img {
                display: block;
                width: 320rpx;
                height: 320rpx;
                background-color: #ccc;
                border-radius: 40rpx 40rpx 0 0;
            }

            .user_info {
                height: 100rpx;
                width: 280rpx;
                margin: 0 auto;
                display: flex;
                flex-direction: row;
                line-height: 100rpx;


                .profile_photo {
                    margin-right: 15rpx;

                    image {
                        width: 80rpx;
                        height: 80rpx;
                        border-radius: 40rpx;
                        vertical-align: middle;
                        background-color: #ccc;
                    }
                }

                .username {
                    color: #ccc;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    font-size: 25rpx;
                }
            }

            .opus_des {
                width: 280rpx;
                margin: 0 auto;
                height: 100rpx;
                font-size: 25rpx;
                line-height: 50rpx;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;


            }

            .opus_data {
                width: 280rpx;
                margin: 0 auto;
                height: 100rpx;
                display: flex;
                font-size: 25rpx;
                flex-direction: row;
                justify-content: space-between;
                text-align: left;
                line-height: 100rpx;

                .icon {
                    font-size: 25rpx;
                }

                .icon::before {
                    content: "\e61c";
                }

                .icon.liking::before {
                    content: "\e61d";
                    color: #f96650;
                }

                .opus_date {
                    text-align: right;
                }
            }

        }
    }
}


// 作者其他菜谱
.author_menus {
    width: 100%;
    height: 630rpx;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ccc;
    margin-top: 40rpx;

    .menus_h {
        width: 680rpx;
        height: 100rpx;
        margin: 0 auto;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        line-height: 100rpx;
        font-size: 30rpx;
        font-weight: 700;
    }

    .menus_items {
        width: 100%;
        white-space: nowrap;
        height: 530rpx;

        .menus_item {
            display: inline-block;
            border-radius: 40rpx;
            box-sizing: border-box;
            margin-left: 40rpx;
            border-bottom: 2rpx solid #ccc;


            .menus_img {
                display: block;
                width: 600rpx;
                height: 350rpx;
                background-color: #ccc;
                border-radius: 40rpx;
            }

            .menus_body {
                display: flex;
                flex-direction: row;
                width: 580rpx;
                height: 180rpx;
                margin: 0 auto;

                .menus_info {
                    width: 480rpx;
                    height: 180rpx;
                    display: flex;
                    flex-direction: column;

                    .title {
                        height: 100rpx;
                        line-height: 100rpx;
                        font-size: 40rpx;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                    }

                    .menus_data {
                        display: flex;
                        flex-direction: row;
                        color: #ccc;
                        height: 80rpx;
                        line-height: 80rpx;
                        font-size: 25rpx;


                    }
                }

                .author_info {
                    display: flex;
                    flex-direction: column;
                    width: 100rpx;
                    height: 180rpx;

                    .profile_photo {
                        height: 100rpx;
                        line-height: 100rpx;

                        image {
                            width: 100rpx;
                            height: 100rpx;
                            border-radius: 50rpx;
                            vertical-align: middle;
                            background-color: #ccc;
                        }
                    }

                    .author_name {
                        height: 80rpx;
                        line-height: 80rpx;
                        text-align: center;
                        color: #f97966;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        font-size: 25rpx;
                    }
                }
            }

        }
    }
}